####################################
# Peru AI events 34800 - 34899 by Lothos
####################################
################
# Minister of Security Section 34800 - 34809
#############################################
################
# Chief of Staff Section 34810 - 34819
#############################################
################
# Head of Intelligence Section 34820 - 34829
#############################################
################
# Chief of the Army Section 34830 - 34839
#############################################
################
# Armament Minister Section 34840 - 34849
#############################################







#############################################
# Regular AI Events 34860 - 34899
#############################################

#########################################
# Low upgrades early
#########################################

event = {
	id = 34860
	random = no 
	country = PRU
	persistent = yes
	
	trigger = {
		ai = yes
		NOT = { local_flag = Upgrading_000 }
		atwar = no
		NOT = { year = 1938 }
	}

	name = "AI_EVENT"
	style = 0
	
	date = { day = 0 month = january year = 1936}
	offset = 1
	deathdate = { day = 29 month = december year = 1999 }

	action_a = {
		command = { type = ai which = "switch/Upgrading_000.ai" }
		command = { type = local_setflag which = Upgrading_000 }
		command = { type = local_clrflag which = Upgrading_035 }
	}
}

event = {
	id = 34861
	random = no 
	country = PRU
	persistent = yes
	
	trigger = {
		ai = yes
		NOT = { local_flag = Upgrading_035 }
		OR = {
			atwar = yes
			year = 1938
		}
	}

	name = "AI_EVENT"
	style = 0
	
	date = { day = 0 month = january year = 1936}
	offset = 1
	deathdate = { day = 29 month = december year = 1999 }

	action_a = {
		command = { type = ai which = "switch/Upgrading_035.ai" }
		command = { type = local_clrflag which = Upgrading_000 }
		command = { type = local_setflag which = Upgrading_035 }
	}
}

